package com.codeoss.module.stock.service;

import java.math.BigDecimal;
import java.util.List;

import com.codeoss.framework.service.IBaseService;
import com.codeoss.module.stock.model.StockStorage;

public interface IStockStorageService extends IBaseService<StockStorage> {
	public void add(Long warehouseId, Long loatorId, Long productId, Long attributeSetInstanceId,
			BigDecimal diffQtyOnHand, 
			BigDecimal diffQtyReserved, BigDecimal diffQtyOrdered);
	
	public BigDecimal getQtyBook(Long loatorId, Long productId, Long attributeSetInstanceId);
	
	public List<StockStorage> getAvailableStockStorageList(Long productProductId,Long stockLocatorId);
}